1bashThis script calculates the length of the input string.export STRING=${1:?'is required'} echo ${#STRING}solutionsstring length calculation